package wwy.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import wwy.Dto.CommonDto.UserDto;

@FeignClient(name = "UserService")
public interface getUserService {
    @GetMapping("/user/getUserByUserId/{userId}")
    UserDto getUserById(@PathVariable("userId") Long userId);
}
